package org.kfive.nova.algorithm.Generic;

/**
 * Created with IntelliJ IDEA.
 * User: admin
 * Date: 14-5-18
 * Time: 下午7:40
 * To change this template use File | Settings | File Templates.
 */
public class Pair<T> {
    private T first;
    private T second;

    public Pair(){
        first = null;
        second =null;

    }
    public Pair(T first,T second){
        this.first = first;
        this.second = second;
    }

    public T getFirst(){
        return this.first;
    }

    public void setFirst(T first){
        this.first = first;
    }

    public T getSecond(){
        return this.second;
    }

    public void setSecond(T second){
        this.second = second;
    }
}
